package com.itheima.api;

public class Demo5 {
    public static void main(String[] args) {
        String s="97 81 25 34 62";
       String[] ss= s.split(" ");
        int[] arr=new int[ss.length];
        for (int i = 0; i < ss.length; i++) {
           // arr[i]=Integer.parseInt(ss[i]);
            arr[i]=Integer.valueOf(ss[i]);
        }
        for (int i = 0; i < arr.length; i++) {
            System.out.println(arr[i]);
        }
    }
}
